import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'
// 加载全局样式
import '@/style/index.less'
import BaiduMap from 'vue-baidu-map'
// 导入自定义指令
import '@/directives/index'
import '@/permission'
Vue.use(Vant)
Vue.use(BaiduMap, {
  ak: 'SmTNLZo4z7OvSBRdpFlOexG08sePqKAS'
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
